import Router from '@koa/router';

import palaceUser from './api/palaceUser';
import museumUser from './api/museumUser';
import appointTask from './api/appointTask';
import appointOrder from './api/appointOrder';
import user from './api/systemUser';
import login from './api/login';

const router = new Router();

//对外提供的接口
router.use('/api/appointOrder', appointOrder);
router.use('/api/appointTask', appointTask);
router.use('/api/museumUser', museumUser);
router.use('/api/palaceUser', palaceUser);
router.use('/api/systemUser', user);
router.use('/api/login', login);


export default router;
